<base href="${CONTEXT_PATH}/" />
<form id="pagerForm" action="wms/form" onsubmit="return navTabSearch(this)" method="post">
   	<input type="hidden" name="pager.pageNumber" value="${(pager.pageNumber)!}" /><!--【必须】value=1可以写死-->
   	<input type="hidden" name="pager.pageSize" value="${(pager.pageSize)!}" /><!--【可选】每页显示多少条-->
	<!--【可选】其它查询条件，业务有关，有什么查询条件就加什么参数。
   		也可以在searchForm上设置属性rel=”pagerForm”，js框架会自动把searchForm搜索条件复制到pagerForm中 -->
	<div class="pageHeader">
		<div class="searchBar">
    		<table class="searchContent">
    			<tr>
    				<td></td>
    			</tr>
    		</table>
    	</div>
	</div>
</form>
<div class="pageContent" style="padding:0px">
	<table class="table" layoutH="85">
		<thead>
			<tr>
				<th width="80" align="left"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>
				<th width="150" align="left">单据号</th>
				<th width="100" align="left">单据类型</th>
				<th width="150" align="left">创建时间</th>
				<th width="100" align="left">作业人</th>
				<th width="150" align="left">作业时间</th>
				<th width="100" align="left">入库仓库</th>
				<th width="100" align="left">出库仓库</th>
				<th width="100" align="left">盘点仓库</th>
				<th width="150" align="left">供应商/客户</th>
				<th width="100" align="left">操作人</th>
			</tr>
		</thead>
		<tbody>
			<#list pager.list as i>
				<tr target="sid_obj"> 
					<td align="left">
						<input name="ids" type="checkbox" value="${(i.id)!}"/>
						${i_index + 1}
					</td>
					<td align="left">${(i.id)!}</td>
					<td align="left">
						<#if i.type==0>
							入库单
						<#elseif i.type==1>
							出库单
						<#elseif i.type==2>
							移库单
						<#elseif i.type==3>
							盘点单
						</#if>
					</td>
					<td align="left">${(i.createDate)!}</td>
					<td align="left">${(i.worker)!}<#if i.worker??>【${(i.workerName)!}】</#if></td>
					<td align="left">${(i.optime)!}</td>
					<td align="left">${(i.inStorage)!}<#if i.inStorage??>【${(i.inStoreName)!}】</#if></td>
					<td align="left">${(i.outStorage)!}<#if i.outStorage??>【${(i.outStoreName)!}】</#if></td>
					<td align="left">${(i.miStorage)!}<#if i.miStorage??>【${(i.miStoreName)!}】</#if></td>
	            	<td align="left">${(i.customer)!}<#if i.customer??>【${(i.customerName)!}】</#if></td>
	            	<td align="left">${(i.operator)!}</td>
				</tr>
			</#list>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
    		<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
    			<option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
    			<option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
    			<option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
    			<option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
    		</select>
			<span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
	</div>
</div>